package RMISnake;

import java.rmi.*;
import java.util.Hashtable;

public interface CallBack extends Remote {
	public void addMessage(String from, String message) throws RemoteException;
	//exit game
	public void quitMessage(String from) throws RemoteException;

	public void joinedMessage(String from) throws RemoteException;
	//draw the snakes
	public void repaint(Hashtable snakes) throws RemoteException;
}